﻿using System;
using System.Collections.Generic;
using System.Text;

namespace QuizEngine.Data
{
    public class Choice : DbTable
    {
        int _choiceId;

        public int ChoiceId
        {
            get { return _choiceId; }
            set { _choiceId = value; }
        }
        string _content;

        public string Content
        {
            get { return _content; }
            set { _content = value; }
        }
        string _value;

        public string Value
        {
            get { return _value; }
            set { _value = value; }
        }
        int _questionId;

        public int QuestionId
        {
            get { return _questionId; }
            set { _questionId = value; }
        }

        public Choice()
        {
        }

        public Choice(int choiceId, string content, string value, int questionId)
        {
            _choiceId = choiceId;
            _content = content;
            _value = value;
            _questionId = questionId;
        }

         
    }
}
